package com.test.pack1.demo.base1_5;

/**
 * Created by dws on 2017/11/30.
 */

public interface UnionInterface {
    void union(int p,int q);//添加链接
    int find(int p);//p所在的分量的标识符
    boolean connected(int p,int q);//判断是否链接
    int count();//链接数量
}
